//
//  EtBaseEvent.m
//  events
//
//  Created by movin on 2019/5/26.
//

#import "EtBaseEvent.h"

@implementation EtBaseEvent

- (instancetype)initWith:(NSString *)key data:(id)data {
    self = [self initWith: key];
    if(self) {
        _eventData = data;
    }
    return self;
}

- (instancetype)initWith:(NSString *)key { 
    self = [super init];
    if(self) {
        _key = key;
    }
    return self;
}

@end
